/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.LSPViolation.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.zaahir.assignment2.LSPViolation.Impl.CalArea;
import za.ac.cput.zaahir.assignment2.LSPViolation.Impl.Rectangle;
import za.ac.cput.zaahir.assignment2.LSPViolation.Impl.Square;

/**
 *
 * @author Nashief
 */
@Configurable 
public class AppConf {
    @Bean 
    public CalArea siv() 
    {
        return new CalArea();
    } 
    @Bean
    public Rectangle sv()
    {
        return new Rectangle();
    }
    
}
